package com.mdd.front.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.mdd.common.core.PageResult;
import com.mdd.common.entity.message.Message;
import com.mdd.front.validate.common.PageValidate;
import com.mdd.front.validate.member.MemberSearchValidate;
import com.mdd.front.vo.message.MessageListVo;

public interface IMessageService extends IService<Message> {
    PageResult<MessageListVo> listMessage(PageValidate pageValidate, MemberSearchValidate valicate);

    void saveMessage(Message message);

    Message oneLike(Integer id);

    Message disLike(Integer id);
}
